<%@ include file="/taglibs.jsp"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>管理页面</title>

		<script src="${js}/TreeNode.js" type="text/javascript"></script>
		<script src="${js}/Tree.js" type="text/javascript"></script>
 

		<style>
		body {
			font: 12px Arial, Helvetica, sans-serif;
			color: #000;
			background-color: #9ad452;
			margin: 0px;
		}

</style>
	</head>

<body>
<table id="left_tab_menu" width="100%" border="0" cellpadding="0" cellspacing="0"  height="510px" bgcolor="#eaf6da">
<tr>
    <td style="height:100%;width:200px;" valign="top">
       <div id="menuTree">
       
      </div>
       <SCRIPT type="text/javascript">
        var date = new Date();
		var tree = null;
		var root = new TreeNode('系统菜单');
		
		var fun1 = new TreeNode('系统管理');
		
		var fun2 = new TreeNode('系统公告', '../announcement/page', 'tree_node.gif', null, 'tree_node.gif', null);
		fun1.add(fun2);
		var fun3 = new TreeNode('修改密码', '../user/pwd', 'tree_node.gif', null, 'tree_node.gif', null);
		fun1.add(fun3);
		var fun31 = new TreeNode('签名管理', '../user/edit?show=n&id=${id}&time='+date , 'tree_node.gif', null, 'tree_node.gif', null);
		fun1.add(fun31);
		var fun4 = new TreeNode('操作日志', '../operlog/page', 'tree_node.gif', null, 'tree_node.gif', null);
		fun1.add(fun4);
		root.add(fun1);
		////////////////////////////////////////////////////////////////////////////////////////////////////////
		//var fun5 = new TreeNode('用户管理');
		
		//var fun6 = new TreeNode('用户信息', '../user/page', 'tree_node.gif', null, 'tree_node.gif', null);
		//fun5.add(fun6);
		//var fun7 = new TreeNode('用户账务', '../useraccount/page', 'tree_node.gif', null, 'tree_node.gif', null);
		//fun5.add(fun7);
		 
		//root.add(fun5);
		////////////////////////////////////////////////////////////////////////////////////////////////////////
		var fun51 = new TreeNode('发送短信');
		
		var fun611 = new TreeNode('发短信', '../sendmessage/usernumsms', 'tree_node.gif', null, 'tree_node.gif', null);
		fun51.add(fun611);
		
		//var fun61 = new TreeNode('短信群发', '../sendmessage/usersms', 'tree_node.gif', null, 'tree_node.gif', null);
		//fun51.add(fun61);
		var fun71 = new TreeNode('发件箱', '../messagefile/page', 'tree_node.gif', null, 'tree_node.gif', null);
		fun51.add(fun71);
		var fun81 = new TreeNode('收件箱', '../receivemessage/page', 'tree_node.gif', null, 'tree_node.gif', null);
		fun51.add(fun81);
		var fun91 = new TreeNode('常用短语', '../moremessage/page', 'tree_node.gif', null, 'tree_node.gif', null);
		fun51.add(fun91);
		root.add(fun51);
		////////////////////////////////////////////////////////////////////////////////////////////////////////
		var fun511 = new TreeNode('客户管理');
		
		var fun611 = new TreeNode('客户管理', '../custemer/page', 'tree_node.gif', null, 'tree_node.gif', null);
		fun511.add(fun611);
		var fun711 = new TreeNode('客户分组', '../custgroup/page', 'tree_node.gif', null, 'tree_node.gif', null);
		fun511.add(fun711);
		var fun811 = new TreeNode('导入客户', '../custemer/input', 'tree_node.gif', null, 'tree_node.gif', null);
		fun511.add(fun811);
		var fun911 = new TreeNode('导出客户', '../custresport/page', 'tree_node.gif', null, 'tree_node.gif', null);
		fun511.add(fun911);
		root.add(fun511);
		
		///////////////////////////////////////////////////////////
		var fun01 = new TreeNode('财务管理');
		var fun011  = new TreeNode('余额查询', '../account/myAccount', 'tree_node.gif', null, 'tree_node.gif', null);
		var fun012  = new TreeNode('账户明细', '../accountlog4j/page', 'tree_node.gif', null, 'tree_node.gif', null);
		fun01.add(fun011);
		fun01.add(fun012);
		root.add(fun01);
		////////////////////////////////////////////////////////////////////////////////////////////////////////
		tree = new Tree(root);
		tree.show('menuTree')
		</SCRIPT>
    </td>
  </tr>
</table>
</body>	 
</html>